package com.winderinfo.yikaotianxia.ui.setup;


import android.view.View;

import com.winderinfo.yikaotianxia.R;
import com.winderinfo.yikaotianxia.core.base.BaseActivity;
import com.winderinfo.yikaotianxia.core.mvp.Contract;
import com.winderinfo.yikaotianxia.core.mvp.Presenter;

import java.util.HashMap;
import java.util.Map;

import butterknife.OnClick;

public class SetUpActivity extends BaseActivity implements Contract.View {

    private Presenter presenter;
    Map<String, Object> map = new HashMap<>();

    @Override
    protected int initLayoutId() {
        return R.layout.activity_setup;
    }

    @Override
    protected void initView() {

    }

    @Override
    protected void initData() {

    }

    @OnClick({R.id.set_clean, R.id.set_uppwd, R.id.set_updata, R.id.set_my, R.id.set_feedback, R.id.set_tuichu, R.id.set_back})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.set_clean:
                break;
            case R.id.set_uppwd:
                openActivity(AlterActivity.class);
                break;
            case R.id.set_updata:
                break;
            case R.id.set_my:
                openActivity(AboutUsActivity.class);
                break;
            case R.id.set_feedback:
                openActivity(FeedbackActivity.class);
                break;
            case R.id.set_tuichu:
                break;
            case R.id.set_back:
                finish();
                break;
        }
    }

    @Override
    public void onSuccess(Object data) {

    }

    @Override
    public void onFailure(Object error) {

    }

}
